package com.xbongbong.saas.enums.business;

import com.xbongbong.i18n.util.I18nMessageUtil;
import lombok.AllArgsConstructor;

/**
 * Description:
 *
 * @Author: pkh
 * @Date: 11-23
 */
@AllArgsConstructor
public enum ContractCompareFormTypeEnum {

    CONTRACT_ORDER(0, "enum.contractCompareFormType.memo.contract_order"),
    PURCHASE_CONTRACT(1, "enum.contractCompareFormType.memo.purchase_contract"),

    LOCAL_UPLOAD(2, "enum.contractCompareFormType.memo.localUpload")
    ;

    private Integer code;
    private String memo;

    public Integer getCode() {
        return code;
    }

    public String getMemo() {
        return I18nMessageUtil.getMessage(memo);
    }
}
